package com.jeff.tianti.cms.entity;

import com.jeff.tianti.common.entity.MysqlSequenceIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "adv_space")
public class AdvSpace extends MysqlSequenceIdEntity implements Serializable {
    //用于PC渠道
    public static final Integer CHANNEL_PC = 0;
    //用于H5渠道
    public static final Integer CHANNEL_H5 = 1;
    //用于H5、PC 渠道
    public static final Integer CHANNEL_H5_PC = 2;

    //逻辑删除标识位—已删除状态
    public static final String DELETE_FLAG_DELETED = "1";
    //逻辑删除标识位—未删除状态
    public static final String DELETE_FLAG_NORMAL = "0";
    private String url;
    private String title;
    private String content;
    private String dicCode;
    private String advUrl;
    private String deleteFlag;
    private String channel;
    private String orderNo;
    private String dicName;
    @Column(name = "channel")
    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
    @Column(name = "url")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    @Column(name = "dic_code")
    public String getDicCode() {
        return dicCode;
    }

    public void setDicCode(String dicCode) {
        this.dicCode = dicCode;
    }

    @Column(name = "delete_flag")
    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    @Column(name = "adv_url")
    public String getAdvUrl() {
        return advUrl;
    }

    public void setAdvUrl(String advUrl) {
        this.advUrl = advUrl;
    }
    @Column(name = "order_no")
    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public String getDicName() {
        return dicName;
    }

    public void setDicName(String dicName) {
        this.dicName = dicName;
    }
}
